package com.yunyao.dao.service.bamu;


import com.yunyao.common.dto.CheckMarkDtoDto;
import com.yunyao.common.dto.PrePaymentDto;
import com.yunyao.common.web.util.PageResult;
import com.yunyao.dao.model.BamuPoPrePayment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yunyao.dao.model.BamuSoPrePayment;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * <p>
 * 供货订单预付款表 服务类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface IBamuPoPrePaymentService extends IService<BamuPoPrePayment> {


    PageResult<BamuPoPrePayment> pageList(@Valid @NotNull PrePaymentDto dto);

    BamuPoPrePayment findByIdInfo(@NotBlank String id);

    void add(BamuPoPrePayment dto);

    void finishPayment(@Valid @NotNull CheckMarkDtoDto dto);
}
